package com.xxl.job.core.biz.model;

import java.io.Serializable;

/**
 * Created by xuxueli on 16/7/22.
 */
public class TriggerParam implements Serializable {

	private static final long serialVersionUID = 317403582020965463L;
	private int jobId;
	private String executorHandler;
	private String executorParams;
	private String executorBlockStrategy;
	private int executorTimeout;
	private long logId;
	private long logDateTime;
	private String glueType;
	private String glueSource;
	private long glueUpdatetime;
	private int broadcastIndex;
	private int broadcastTotal;

	public int getJobId() {
		return jobId;
	}

	public void setJobId(int jobId) {
		this.jobId = jobId;
	}

	public String getExecutorHandler() {
		return executorHandler;
	}

	public void setExecutorHandler(String executorHandler) {
		this.executorHandler = executorHandler;
	}

	public String getExecutorParams() {
		return executorParams;
	}

	public void setExecutorParams(String executorParams) {
		this.executorParams = executorParams;
	}

	public String getExecutorBlockStrategy() {
		return executorBlockStrategy;
	}

	public void setExecutorBlockStrategy(String executorBlockStrategy) {
		this.executorBlockStrategy = executorBlockStrategy;
	}

	public int getExecutorTimeout() {
		return executorTimeout;
	}

	public void setExecutorTimeout(int executorTimeout) {
		this.executorTimeout = executorTimeout;
	}

	public long getLogId() {
		return logId;
	}

	public void setLogId(long logId) {
		this.logId = logId;
	}

	public long getLogDateTime() {
		return logDateTime;
	}

	public void setLogDateTime(long logDateTime) {
		this.logDateTime = logDateTime;
	}

	public String getGlueType() {
		return glueType;
	}

	public void setGlueType(String glueType) {
		this.glueType = glueType;
	}

	public String getGlueSource() {
		return glueSource;
	}

	public void setGlueSource(String glueSource) {
		this.glueSource = glueSource;
	}

	public long getGlueUpdatetime() {
		return glueUpdatetime;
	}

	public void setGlueUpdatetime(long glueUpdatetime) {
		this.glueUpdatetime = glueUpdatetime;
	}

	public int getBroadcastIndex() {
		return broadcastIndex;
	}

	public void setBroadcastIndex(int broadcastIndex) {
		this.broadcastIndex = broadcastIndex;
	}

	public int getBroadcastTotal() {
		return broadcastTotal;
	}

	public void setBroadcastTotal(int broadcastTotal) {
		this.broadcastTotal = broadcastTotal;
	}

	@Override
	public String toString() {
		return "TriggerParam{" + "jobId=" + jobId + ", executorHandler='" + executorHandler + '\'' + ", executorParams='" + executorParams + '\'' + ", executorBlockStrategy='" + executorBlockStrategy + '\'' + ", executorTimeout=" + executorTimeout + ", logId=" + logId + ", logDateTime=" + logDateTime + ", glueType='"
				+ glueType + '\'' + ", glueSource='" + glueSource + '\'' + ", glueUpdatetime=" + glueUpdatetime + ", broadcastIndex=" + broadcastIndex + ", broadcastTotal=" + broadcastTotal + '}';
	}
}
